home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2003 May / cmycha200305.iso / MutantStorm / setup_mutantstorm_demo.exe / {app} / script / laser-1_2sec.lua < prev    next >
Text File  |  2003-03-11  |  2KB  |  62 lines

  1.  
  2. -- leave me
  3.     local actor = ACTOR_preload()
  4. -- leave me
  5.  
  6.     -- default for this beastie
  7.     actor[cp_actor_name]        = "laser-1_2sec"
  8.     actor[cp_model_dir]            = "beasties"
  9.     actor[cp_model_name]        = "lazer-1"
  10.  
  11.     actor[cp_move_type]            = cmt_path
  12.  
  13. --    actor[cp_score]                = 10
  14.     actor[cp_in_beastie_count]        = 0
  15.     actor[cp_in_screen_zoom_box]    = 1
  16. --    actor[cp_hit_power]            = 5.0
  17.  
  18.     -- movement
  19.     actor[cp_move_speed_min]        = 0.12
  20.     actor[cp_move_speed_max]        = 0.12
  21.     actor[cp_move_acceleration]        = 0.1
  22.     actor[cp_move_deceleration]        = 0.0
  23.     actor[cp_move_inertia_accn]        = 0.1
  24.     actor[cp_move_inertia_decn]        = 0.0
  25.  
  26.     actor[cp_target_stop_dist]        = 6.0
  27.  
  28.     actor[cp_turn_lock_angle_inner]        = 85.0
  29.     actor[cp_turn_lock_angle_outer]        = 95.0
  30.     actor[cp_turn_speed_still]        = 100.0
  31.     actor[cp_turn_acceleration_still]    = 100.0
  32.     actor[cp_turn_inertia_still]        = 0.0
  33.     actor[cp_turn_speed_moving]        = 5.0
  34.     actor[cp_turn_acceleration_moving]    = 100.0
  35.     actor[cp_turn_inertia_moving]        = 0.0
  36.  
  37.     actor[cp_weight]                = 1.0
  38.  
  39.     actor[cp_health_percent]        = 1.0
  40.  
  41.     actor[cp_random_edge_inner_percent]    = 80.0
  42.     actor[cp_random_edge_outer_percent]    = 99.0
  43.  
  44.     actor[cp_launch_hue_shift] = color
  45.  
  46.  actor[cp_difficulty_adjust_speed] = 26.0
  47.  
  48. -- leave me
  49.     c_preload_model( actor )
  50. -- leave me
  51.  
  52.     c_set_random_anim( "pulse1", 1000.0, 2000.0, 0.0, 0.0 )
  53.     c_add_particle_to_anim( "pulse1", "mainbone", "laser-fizz" )
  54.  
  55.     c_set_random_anim( "s200", 50.0, 50.0, 0.0, 0.0 )
  56.     c_add_sound_to_anim( "s200", "laser-2sec" )
  57.  
  58.     -- new state
  59.     -- new state
  60.  
  61. dofile_lua( "laserfizz-2sec" )
  62.